/*
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
*/
package com.hyyt.shopjsp.logistics.dao;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

import com.hyyt.shopjsp.logistics.pojo.ShopLogistics;
import com.hyyt.shopjsp.util.dao.BaseMybatisDAO;

/**
* shop_logistics, SHOP_物流公司
*
* @author Robot 2017-03-20 10:07:48
*/
@Repository
public class ShopLogisticsDAO extends BaseMybatisDAO<ShopLogistics, Integer> {
    /**
    * 生成日志对象
    */
    private static  final Logger logger = Logger.getLogger(ShopLogisticsDAO.class);
    
    /**
     * 根据code获得对象
     * @param code
     * @return
     */
    public ShopLogistics loadShopLogisticsByCode(String code){
    	return getSqlSession().selectOne("loadShopLogisticsByCode",code);
    }

}